package com.iflytek.speech; class UtilityConfig { void a() { int a;
a=0;// .class public Lcom/iflytek/speech/UtilityConfig;
a=0;// .super Ljava/lang/Object;
a=0;// 
a=0;// 
a=0;// # static fields
a=0;// .field public static final ACTION_SPEAKER_VERIFIER:Ljava/lang/String; = "com.iflytek.component.speakerverifier"
a=0;// 
a=0;// .field public static final ACTION_SPEECH_RECOGNIZER:Ljava/lang/String; = "com.iflytek.component.speechrecognizer"
a=0;// 
a=0;// .field public static final ACTION_SPEECH_SYNTHESIZER:Ljava/lang/String; = "com.iflytek.component.speechsynthesizer"
a=0;// 
a=0;// .field public static final ACTION_SPEECH_UNDERSTANDER:Ljava/lang/String; = "com.iflytek.component.speechunderstander"
a=0;// 
a=0;// .field public static final ACTION_SPEECH_WAKEUP:Ljava/lang/String; = "com.iflytek.component.speechwakeuper"
a=0;// 
a=0;// .field public static final ACTION_TEXT_UNDERSTANDER:Ljava/lang/String; = "com.iflytek.component.textunderstander"
a=0;// 
a=0;// .field public static final CHANNEL_ID:Ljava/lang/String; = "16010000"
a=0;// 
a=0;// .field public static final CHANNEL_NAME:Ljava/lang/String; = "dev.voicecloud"
a=0;// 
a=0;// .field public static final COMPONENT_PKG:Ljava/lang/String; = "com.iflytek.speechcloud"
a=0;// 
a=0;// .field public static final COMPONENT_URL:Ljava/lang/String; = "http://open.voicecloud.cn/s?"
a=0;// 
a=0;// .field public static final KEY_CALLER_APPID:Ljava/lang/String; = "caller.appid"
a=0;// 
a=0;// .field public static final KEY_CALLER_NAME:Ljava/lang/String; = "caller.name"
a=0;// 
a=0;// .field public static final KEY_CALLER_PKG_NAME:Ljava/lang/String; = "caller.pkg"
a=0;// 
a=0;// .field public static final KEY_CALLER_VER_CODE:Ljava/lang/String; = "caller.ver.code"
a=0;// 
a=0;// .field public static final KEY_CALLER_VER_NAME:Ljava/lang/String; = "caller.ver.name"
a=0;// 
a=0;// .field public static final KEY_CHANNEL_ID:Ljava/lang/String; = "channel.id"
a=0;// 
a=0;// .field public static final KEY_CHANNEL_NAME:Ljava/lang/String; = "channel.name"
a=0;// 
a=0;// .field public static final KEY_REQUEST_PACKAGE:Ljava/lang/String; = "request.package"
a=0;// 
a=0;// .field public static final METADATA_KEY_ENGINE_TYPE:Ljava/lang/String; = "enginetype"
a=0;// 
a=0;// .field public static final SDK_VER_NAME:Ljava/lang/String; = "sdk.ver.name"
a=0;// 
a=0;// .field public static final SETTINGS_ACTION_ASR:Ljava/lang/String; = "com.iflytek.speechcloud.settings.asr"
a=0;// 
a=0;// .field public static final SETTINGS_ACTION_MAIN:Ljava/lang/String; = "com.iflytek.speechcloud.settings.main"
a=0;// 
a=0;// .field public static final SETTINGS_ACTION_TTS:Ljava/lang/String; = "com.iflytek.speechcloud.activity.speaker.SpeakerSetting"
a=0;// 
a=0;// .field private static callerHashMap:Ljava/util/HashMap;
a=0;// 
a=0;// 
a=0;// # direct methods
a=0;// .method static constructor <clinit>()V
a=0;//     .locals 1
a=0;// 
a=0;//     new-instance v0, Ljava/util/HashMap;
a=0;// 
a=0;//     #v0=(UninitRef,Ljava/util/HashMap;);
a=0;//     invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
a=0;// 
a=0;//     #v0=(Reference,Ljava/util/HashMap;);
a=0;//     sput-object v0, Lcom/iflytek/speech/UtilityConfig;->callerHashMap:Ljava/util/HashMap;
a=0;// 
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// .method public constructor <init>()V
a=0;//     .locals 0
a=0;// 
a=0;//     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
a=0;// 
a=0;//     #p0=(Reference,Lcom/iflytek/speech/UtilityConfig;);
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// .method public static appendHttpParam(Ljava/lang/StringBuffer;Ljava/lang/String;Ljava/lang/String;)V
a=0;//     .locals 1
a=0;// 
a=0;//     if-eqz p0, :cond_0
a=0;// 
a=0;//     if-eqz p1, :cond_0
a=0;// 
a=0;//     if-eqz p2, :cond_0
a=0;// 
a=0;//     invoke-virtual {p2}, Ljava/lang/String;->length()I
a=0;// 
a=0;//     move-result v0
a=0;// 
a=0;//     #v0=(Integer);
a=0;//     if-lez v0, :cond_0
a=0;// 
a=0;//     const/16 v0, 0x26
a=0;// 
a=0;//     #v0=(PosByte);
a=0;//     invoke-virtual {p0, v0}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;
a=0;// 
a=0;//     invoke-virtual {p0, p1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
a=0;// 
a=0;//     const/16 v0, 0x3d
a=0;// 
a=0;//     invoke-virtual {p0, v0}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;
a=0;// 
a=0;//     invoke-virtual {p0, p2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
a=0;// 
a=0;//     :cond_0
a=0;//     #v0=(Conflicted);
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// .method public static getCallerInfo(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
a=0;//     .locals 5
a=0;// 
a=0;//     sget-object v0, Lcom/iflytek/speech/UtilityConfig;->callerHashMap:Ljava/util/HashMap;
a=0;// 
a=0;//     #v0=(Reference,Ljava/util/HashMap;);
a=0;//     invoke-virtual {v0, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
a=0;// 
a=0;//     move-result v0
a=0;// 
a=0;//     #v0=(Boolean);
a=0;//     if-eqz v0, :cond_0
a=0;// 
a=0;//     sget-object v0, Lcom/iflytek/speech/UtilityConfig;->callerHashMap:Ljava/util/HashMap;
a=0;// 
a=0;//     #v0=(Reference,Ljava/util/HashMap;);
a=0;//     invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     check-cast v0, Ljava/lang/String;
a=0;// 
a=0;//     :goto_0
a=0;//     #v1=(Conflicted);v2=(Conflicted);v3=(Conflicted);v4=(Conflicted);
a=0;//     return-object v0
a=0;// 
a=0;//     :cond_0
a=0;//     :try_start_0
a=0;//     #v0=(Boolean);v1=(Uninit);v2=(Uninit);v3=(Uninit);v4=(Uninit);
a=0;//     invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     #v0=(Reference,Ljava/lang/String;);
a=0;//     invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
a=0;// 
a=0;//     move-result-object v1
a=0;// 
a=0;//     #v1=(Reference,Landroid/content/pm/PackageManager;);
a=0;//     const/4 v2, 0x0
a=0;// 
a=0;//     #v2=(Null);
a=0;//     invoke-virtual {v1, v0, v2}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;
a=0;// 
a=0;//     move-result-object v1
a=0;// 
a=0;//     invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     #v2=(Reference,Landroid/content/pm/PackageManager;);
a=0;//     const/4 v3, 0x0
a=0;// 
a=0;//     #v3=(Null);
a=0;//     invoke-virtual {v2, v0, v3}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     sget-object v2, Lcom/iflytek/speech/UtilityConfig;->callerHashMap:Ljava/util/HashMap;
a=0;// 
a=0;//     const-string v3, "caller.name"
a=0;// 
a=0;//     #v3=(Reference,Ljava/lang/String;);
a=0;//     invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
a=0;// 
a=0;//     move-result-object v4
a=0;// 
a=0;//     #v4=(Reference,Landroid/content/pm/PackageManager;);
a=0;//     invoke-virtual {v0, v4}, Landroid/content/pm/ApplicationInfo;->loadLabel(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence;
a=0;// 
a=0;//     move-result-object v4
a=0;// 
a=0;//     invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v4
a=0;// 
a=0;//     invoke-virtual {v2, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
a=0;// 
a=0;//     sget-object v2, Lcom/iflytek/speech/UtilityConfig;->callerHashMap:Ljava/util/HashMap;
a=0;// 
a=0;//     const-string v3, "caller.pkg"
a=0;// 
a=0;//     iget-object v0, v0, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;
a=0;// 
a=0;//     invoke-virtual {v2, v3, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
a=0;// 
a=0;//     sget-object v0, Lcom/iflytek/speech/UtilityConfig;->callerHashMap:Ljava/util/HashMap;
a=0;// 
a=0;//     const-string v2, "caller.ver.name"
a=0;// 
a=0;//     iget-object v3, v1, Landroid/content/pm/PackageInfo;->versionName:Ljava/lang/String;
a=0;// 
a=0;//     invoke-virtual {v0, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
a=0;// 
a=0;//     sget-object v0, Lcom/iflytek/speech/UtilityConfig;->callerHashMap:Ljava/util/HashMap;
a=0;// 
a=0;//     const-string v2, "caller.ver.code"
a=0;// 
a=0;//     iget v1, v1, Landroid/content/pm/PackageInfo;->versionCode:I
a=0;// 
a=0;//     #v1=(Integer);
a=0;//     invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v1
a=0;// 
a=0;//     #v1=(Reference,Ljava/lang/String;);
a=0;//     invoke-virtual {v0, v2, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
a=0;//     :try_end_0
a=0;//     .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
a=0;// 
a=0;//     :goto_1
a=0;//     #v1=(Conflicted);v2=(Conflicted);v3=(Conflicted);v4=(Conflicted);
a=0;//     sget-object v0, Lcom/iflytek/speech/UtilityConfig;->callerHashMap:Ljava/util/HashMap;
a=0;// 
a=0;//     invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     check-cast v0, Ljava/lang/String;
a=0;// 
a=0;//     goto :goto_0
a=0;// 
a=0;//     :catch_0
a=0;//     #v0=(Conflicted);
a=0;//     move-exception v0
a=0;// 
a=0;//     #v0=(Reference,Ljava/lang/Exception;);
a=0;//     invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
a=0;// 
a=0;//     goto :goto_1
a=0;// .end method
a=0;// 
a=0;// .method public static getComponentUrlParam(Landroid/content/Context;)Ljava/lang/String;
a=0;//     .locals 5
a=0;// 
a=0;//     const-string v0, "caller.name"
a=0;// 
a=0;//     #v0=(Reference,Ljava/lang/String;);
a=0;//     invoke-static {p0, v0}, Lcom/iflytek/speech/UtilityConfig;->getCallerInfo(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     const-string v1, "caller.pkg"
a=0;// 
a=0;//     #v1=(Reference,Ljava/lang/String;);
a=0;//     invoke-static {p0, v1}, Lcom/iflytek/speech/UtilityConfig;->getCallerInfo(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v1
a=0;// 
a=0;//     new-instance v2, Ljava/lang/StringBuffer;
a=0;// 
a=0;//     #v2=(UninitRef,Ljava/lang/StringBuffer;);
a=0;//     invoke-direct {v2}, Ljava/lang/StringBuffer;-><init>()V
a=0;// 
a=0;//     #v2=(Reference,Ljava/lang/StringBuffer;);
a=0;//     const-string v3, "channel.id"
a=0;// 
a=0;//     #v3=(Reference,Ljava/lang/String;);
a=0;//     invoke-virtual {v2, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
a=0;// 
a=0;//     const/16 v3, 0x3d
a=0;// 
a=0;//     #v3=(PosByte);
a=0;//     invoke-virtual {v2, v3}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;
a=0;// 
a=0;//     const-string v3, "16010000"
a=0;// 
a=0;//     #v3=(Reference,Ljava/lang/String;);
a=0;//     invoke-virtual {v2, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
a=0;// 
a=0;//     const-string v3, "sdk.ver.name"
a=0;// 
a=0;//     invoke-static {}, Lcom/iflytek/speech/Version;->getVersionName()Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v4
a=0;// 
a=0;//     #v4=(Reference,Ljava/lang/String;);
a=0;//     invoke-static {v2, v3, v4}, Lcom/iflytek/speech/UtilityConfig;->appendHttpParam(Ljava/lang/StringBuffer;Ljava/lang/String;Ljava/lang/String;)V
a=0;// 
a=0;//     const-string v3, "caller.name"
a=0;// 
a=0;//     invoke-static {v2, v3, v0}, Lcom/iflytek/speech/UtilityConfig;->appendHttpParam(Ljava/lang/StringBuffer;Ljava/lang/String;Ljava/lang/String;)V
a=0;// 
a=0;//     const-string v0, "caller.pkg"
a=0;// 
a=0;//     invoke-static {v2, v0, v1}, Lcom/iflytek/speech/UtilityConfig;->appendHttpParam(Ljava/lang/StringBuffer;Ljava/lang/String;Ljava/lang/String;)V
a=0;// 
a=0;//     invoke-virtual {v2}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     return-object v0
a=0;// .end method
}}
